package jehc.djshi.log.dao;

import jehc.djshi.log.model.XtLoginLogs;

import java.util.List;
import java.util.Map;

/**
 * @Desc 登录日志
 * @Author 邓纯杰
 * @CreateTime 2012-12-12 12:12:12
 */
public interface XtLoginLogsDao{
	/**
	* 分页
	* @param condition 
	* @return
	*/
	List<XtLoginLogs> getXtLoginLogsListByCondition(Map<String, Object> condition);
	/**
	* 查询对象
	* @param xt_login_log_id
	* @return
	*/
	XtLoginLogs getXtLoginLogsById(String xt_login_log_id);
	/**
	* 添加
	* @param xtLoginLogs
	* @return
	*/
	int addXtLoginLogs(XtLoginLogs xtLoginLogs);
	/**
	* 修改
	* @param xtLoginLogs
	* @return
	*/
	int updateXtLoginLogs(XtLoginLogs xtLoginLogs);
	/**
	* 删除
	* @param condition
	* @return
	*/
	int delXtLoginLogs(Map<String, Object> condition);

	/**
	 * 统计出每个人登录的次数
	 * @param condition
	 * @return
	 */
	List<XtLoginLogs> getGroupXtLoginLogsList(Map<String, Object> condition);

	/**
	 * 个人登录次数
	 * @param condition
	 * @return
	 */
	int getXtLoginLogsCount(Map<String, Object> condition);
}
